[gd_scene load_steps=11 format=3 uid="uid://bvjl3a63uu41g"]

[ext_resource type="Script" path="res://Scripts/game_manager.gd" id="1_awaf7"]
[ext_resource type="PackedScene" uid="uid://dhnygx1n4i2q8" path="res://Scenes/player.tscn" id="1_ww1l6"]
[ext_resource type="PackedScene" uid="uid://dx7gg2jfvmsdg" path="res://Scenes/obstacle.tscn" id="2_ve753"]
[ext_resource type="Material" uid="uid://cvdq1tkm1dmdh" path="res://Shaders/water.tres" id="3_e13sh"]
[ext_resource type="PackedScene" uid="uid://br2q8k7w86rwe" path="res://Scenes/soap.tscn" id="3_psb66"]
[ext_resource type="PackedScene" uid="uid://df6mv5pbpefkl" path="res://Scenes/zone.tscn" id="5_nfhfs"]
[ext_resource type="Texture2D" uid="uid://ctg5iyh1efyew" path="res://UPLOAD/Logo_Bubble.png" id="8_dekdc"]

[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_twecs"]

[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_x4j88"]
normal = Vector2(-0.0196041, 0.999808)

[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_5hlcg"]
blend_mode = 1

[node name="Main" type="Node2D"]

[node name="GameManager" type="Node2D" parent="."]
unique_name_in_owner = true
script = ExtResource("1_awaf7")

[node name="Player" parent="." instance=ExtResource("1_ww1l6")]
z_index = 10
floor_stop_on_slope = false
floor_block_on_wall = false
friction = 0.01
scale_increment = 0.5
scale_duration = 0.4
kill_limit = 0.5

[node name="Camera2D" type="Camera2D" parent="Player"]
zoom = Vector2(2, 2)
position_smoothing_enabled = true

[node name="Background" type="Node" parent="."]

[node name="Polygon2D2" type="Polygon2D" parent="Background"]
z_index = -1
texture_repeat = 2
material = SubResource("CanvasItemMaterial_twecs")
use_parent_material = true
color = Color(0.286958, 0.367754, 0.455541, 1)
texture_scale = Vector2(2, 2)
polygon = PackedVector2Array(-989, -572, 1851, -571, 1846, 621, -993, 589)
uv = PackedVector2Array(5.13281, 6.39966, 4882, 18.4612, 4908.1, 3670.86, 6.05194, 3670.86)

[node name="Pickups" type="Node" parent="."]

[node name="Soap" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(-386, 53)
scale = Vector2(0.5, 0.5)

[node name="Soap2" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(-499, -231)
scale = Vector2(0.5, 0.5)

[node name="Soap7" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(-875, -447)
scale = Vector2(0.5, 0.5)

[node name="Soap3" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(723, 196)
scale = Vector2(0.5, 0.5)

[node name="Soap4" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(269, -140)
scale = Vector2(0.5, 0.5)

[node name="Soap5" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(550, -328)
scale = Vector2(0.5, 0.5)

[node name="Soap6" parent="Pickups" instance=ExtResource("3_psb66")]
position = Vector2(550, -328)
scale = Vector2(0.5, 0.5)

[node name="Obstacles" type="Node" parent="."]

[node name="Obstacle" parent="Obstacles" instance=ExtResource("2_ve753")]
position = Vector2(-319, -162)

[node name="Polygon2D" parent="Obstacles/Obstacle" index="0"]
color = Color(1, 0, 0, 1)

[node name="Obstacle3" parent="Obstacles" instance=ExtResource("2_ve753")]
position = Vector2(230, 185)

[node name="Polygon2D" parent="Obstacles/Obstacle3" index="0"]
color = Color(1, 0, 0, 1)
polygon = PackedVector2Array(-20, -48, -21, 37, -108, 121, 13, 65, 41, 5, 46, -52)

[node name="Obstacle2" parent="Obstacles" instance=ExtResource("2_ve753")]
position = Vector2(-265, 263)

[node name="Polygon2D" parent="Obstacles/Obstacle2" index="0"]
color = Color(1, 0, 0, 1)
polygon = PackedVector2Array(-20, -48, -59, 12, -22, 90, 13, 65, 41, 5, -15, 16)

[node name="Obstacle4" parent="Obstacles" instance=ExtResource("2_ve753")]
position = Vector2(-765, -354)

[node name="Polygon2D" parent="Obstacles/Obstacle4" index="0"]
position = Vector2(30, -1)
color = Color(1, 0, 0, 1)
polygon = PackedVector2Array(-62, -8, -100, 60, -22, 90, 13, 65, 41, 5, 13, -22)

[node name="Zone" parent="." instance=ExtResource("5_nfhfs")]
position = Vector2(1452, -113)

[node name="Polygon2D" parent="Zone" index="0"]
polygon = PackedVector2Array(-143, -127, -138, 673, 356, 673, 368, -138)

[node name="CollisionShape2D" parent="Zone" index="1"]
position = Vector2(112, 273)

[node name="Labels" type="Node" parent="."]

[node name="Label" type="Label" parent="Labels"]
offset_left = 1885.0
offset_top = 121.0
offset_right = 2063.0
offset_bottom = 144.0
text = "Must be HUGE to enter"

[node name="Label2" type="Label" parent="Labels"]
offset_left = -59.0
offset_top = -23.0
offset_right = 55.0
offset_bottom = 26.0
text = "WASD to move
R to Reload"
horizontal_alignment = 1

[node name="Shader" type="Node" parent="."]

[node name="ColorRect" type="ColorRect" parent="Shader"]
material = ExtResource("3_e13sh")
offset_left = -979.0
offset_top = -556.0
offset_right = 1844.0
offset_bottom = 588.0
color = Color(1, 0.57, 0.57, 1)

[node name="Colliders" type="Node" parent="."]

[node name="StaticBody2D" type="StaticBody2D" parent="Colliders"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Colliders/StaticBody2D"]
position = Vector2(0, 540)
rotation = 3.14159
shape = SubResource("WorldBoundaryShape2D_x4j88")

[node name="CollisionShape2D2" type="CollisionShape2D" parent="Colliders/StaticBody2D"]
position = Vector2(0, -543)
shape = SubResource("WorldBoundaryShape2D_x4j88")

[node name="CollisionShape2D3" type="CollisionShape2D" parent="Colliders/StaticBody2D"]
position = Vector2(1825, 0)
rotation = 1.5708
shape = SubResource("WorldBoundaryShape2D_x4j88")

[node name="CollisionShape2D4" type="CollisionShape2D" parent="Colliders/StaticBody2D"]
position = Vector2(-960, 0)
rotation = 4.71239
shape = SubResource("WorldBoundaryShape2D_x4j88")

[node name="Polygon2D" type="Polygon2D" parent="Colliders/StaticBody2D"]
color = Color(0, 0, 0, 1)
polygon = PackedVector2Array(-1057, -544, 960, -543, 1830, -542, 1820, -250, 2207, -247, 2213, -658, 1052, -645, -1052, -669)

[node name="Polygon2D2" type="Polygon2D" parent="Colliders/StaticBody2D"]
rotation = -3.14154
color = Color(0, 0, 0, 1)
polygon = PackedVector2Array(-2224.03, -573.883, 960, -543, 960, 543, 1060, 549, 1052, -645, -2224.04, -666.883)

[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("CanvasItemMaterial_5hlcg")
position = Vector2(0, -149)
scale = Vector2(0.272331, 0.272331)
texture = ExtResource("8_dekdc")

[editable path="Obstacles/Obstacle"]
[editable path="Obstacles/Obstacle3"]
[editable path="Obstacles/Obstacle2"]
[editable path="Obstacles/Obstacle4"]
[editable path="Zone"]
